export default {
  path: "classroom",
  name: "Classroom",
  component: () =>
    import(/* webpackChunkName: "home" */ "../../views/Home/classRoom"),
  redirect: "/home/classroom/editclassroom",
  meta: {
    login: true,
    title: "首页",
    auth: ["管理员"],
  },
  children: [
    {
      path: "editclassroom",
      name: "Editclassroom",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/classRoom/EditClassRoom.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员"],
      },
    },
    {
      path: "addclassroom",
      name: "Addclassroom",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/classRoom/AddClassRoom.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员"],
      },
    },
  ],
};
